!!!
%html
  %head{:lang => "zh-cmn-Hans"}
    %meta{:charset => "UTF-8"}/
    %meta{:content => "IE=edge", "http-equiv" => "X-UA-Compatible"}
    %meta{:content => "width=device-width,initial-scale=1.0,maximum-scale=1.0,minimum-scale=1.0,user-scalable=no", :name => "viewport"}
    %title 灰名单
    -#= stylesheet_link_tag    'application', media: 'all', 'data-turbolinks-track' => true
    -#= javascript_include_tag 'application', 'data-turbolinks-track' => true
    
    %link{rel:"icon", href:"#{ufile_public_src_static('favicon.png')}", type:"image/x-icon"}
    %link{rel:"shortcut icon", href:"#{ufile_public_src_static('favicon.png')}", type:"image/x-icon"}

    
    = stylesheet_link_tag     '//cdn.bootcss.com/bootstrap/3.3.5/css/bootstrap.min.css'
    = stylesheet_link_tag     '//cdn.bootcss.com/font-awesome/4.4.0/css/font-awesome.min.css'
    -if Rails.env == 'development'
      = stylesheet_link_tag     'graylist.css'
    -if Rails.env == 'production'
      = stylesheet_link_tag   ufile_public_src_static("graylist.css")

    /[if lt IE 9]
      = javascript_include_tag      "//cdn.bootcss.com/html5shiv/r29/html5.min.js"
    = javascript_include_tag     '//cdn.bootcss.com/jquery/1.11.3/jquery.min.js'
    = javascript_include_tag     '//cdn.bootcss.com/bootstrap/3.3.5/js/bootstrap.min.js'
    = javascript_include_tag     '//cdn.bootcss.com/jquery-ujs/1.1.0/rails.min.js'
    -if Rails.env == 'development'
      = javascript_include_tag      "graylist.js"
    -if Rails.env == 'production'
      = javascript_include_tag      ufile_public_src_static("graylist.js")

    = csrf_meta_tags


  %body
    %header.user-header
      .container-fluid
        .container
          .row
            .col-md-6.col-sm-6.col-xs-6
              .header-left
                = @page_title || '登录灰名单账号'
            .col-md-6.col-sm-6.col-xs-6
              .header-right
                %a{href: "/"} 返回首页

    - if notice
      %p.notice.alert.alert-success{role:"alert"}= notice
    - if alert
      %p.alert.alert-danger{role:"alert"}= alert
    = yield
